<?php

namespace common\enum;


class OrderEnum
{
    /**
     * 注单状态:0=等待；1=接受；2=结算；3=取消；4=拒绝
     */
    const STATUS_WAIT = 0;
    const STATUS_ACCEPT = 1;
    const STATUS_RECKONED = 2;
    const STATUS_CANCEL = 3;
    const STATUS_REJECT = 4;
    // =======注单状态======================================
    // 等待
    const WAITING = 0;
    // 接受
    const PENDING = 1;
    // 结算
    const OPEN = 2;
    // 取消
    const CANCEL = 3;
    //拒绝
    const REJECT = 4;

    static $activeTemplate = [
        1 => ["name" => "每日签到", "description" => "每日签到优惠活动模板"],
        2 => ["name" => "验证邮箱", "description" => "验证邮箱"],
        3 => ["name" => "手机验证", "description" => "手机验证"],
        4 => ["name" => "每日抽奖", "description" => "幸运大抽奖"],
        5 => ["name" => "救援金", "description" => "输钱送活动"],
        6 => ["name" => "擂台奖", "description" => "赛事型优惠活动"],
        7 => ["name" => "奖上奖", "description" => "中奖再加奖活动"],
        8 => ["name" => "连续闯关", "description" => "连续过关奖励活动"],
        9 => ["name" => "充值优惠", "description" => "充值优惠"],
        10 => ["name" => "注册优惠", "description" => "注册优惠"]
    ];

}

